<template>
  <div>
    <tab-bar>
      <tab-bar-item path="/home" activeColor="#1afa29">
        <img slot="item-icon" src="../../../assets/images/tabbar/home.svg" alt="">
        <img slot="item-icon-active" src="../../../assets/images/tabbar/home2.svg" alt="">
        <div slot="item-text">首页</div>
      </tab-bar-item>

      <tab-bar-item path="/category" activeColor="#1afa29">
        <img slot="item-icon" src="../../../assets/images/tabbar/fl.svg" alt="">
        <img slot="item-icon-active" src="../../../assets/images/tabbar/fl2.svg" alt="">
        <div slot="item-text">分类</div>
      </tab-bar-item>

      <tab-bar-item path="/cart" activeColor="#1afa29">
        <img slot="item-icon" src="../../../assets/images/tabbar/shopcar.svg" alt="">
        <img slot="item-icon-active" src="../../../assets/images/tabbar/shopcar2.svg" alt="">
        <div slot="item-text">购物车</div>
      </tab-bar-item>
      
      <tab-bar-item path="/profile" activeColor="#1afa29">
        <img slot="item-icon" src="../../../assets/images/tabbar/my.svg" alt="">
        <img slot="item-icon-active" src="../../../assets/images/tabbar/my2.svg" alt="">
        <div slot="item-text">我的</div>
      </tab-bar-item>
    </tab-bar>
  </div>
</template>

<script>
import TabBar from '../../common/tabbar/TabBar'
import TabBarItem from '../../common/tabbar/TabBarItem'
export default {
    components:{
        TabBar,
        TabBarItem
  }
}

</script>
<style scoped>
</style>